<template>
  <div class="execution">
    <basic-container>
      <avue-crud
        v-model="form"
        v-bind="bindVal"
        v-on="onEvent"
        :page.sync="page"
        :permission="permissionList">
        <template slot="menuLeft">
          <el-button type="primary" size="small"
            @click="handleExport">导 出
          </el-button>
          <el-button type="primary" size="small"
          :hidden="true"
          v-if="false"
            @click="handlePrint">打 印
          </el-button>
        </template>
      </avue-crud>
    </basic-container>
  </div>
</template>

<script>
  import baseCrud from '@/mixins/base-crud'

  export default {
    name: 'swstticketsinventoryabnormalnotice',
    mixins: [baseCrud('subwaystm/swstticketsinventoryabnormalnotice')],
    data() {
      return {}
    },
    computed: {
      permissionList() {
        return {
          addBtn: this.vaildData(this.permissions.stm_swstticketsinventoryabnormalnotice_add, false),
          delBtn: this.vaildData(this.permissions.stm_swstticketsinventoryabnormalnotice_del, false),
          editBtn: this.vaildData(this.permissions.stm_swstticketsinventoryabnormalnotice_edit, false)
        };
      }
    },
    methods: {}
  }
</script>
